#ifndef MENU_H
#define MENU_H

#include <QWidget>
#include <QLineEdit>
#include <QPushButton>
#include <QMessageBox>

class Menu : public QWidget
{
    Q_OBJECT
public:
    explicit Menu(QWidget *parent = nullptr);

private:
    QLineEdit row;
    QLineEdit col;
    QPushButton btChangeSize;
    //QPushButton btn_temp;
    QPushButton btn_start;
    QPushButton btn_stop;
private:
    void createUi();
    void connectUi();
    void connectSound();

    QLabel *mytip;

signals:
    void changeSize(int row,int col);
    void noticSound();
    void send_start();
    void disconnectClient();

public slots:
    void setTips(int tips);


};

#endif // MENU_H
